package cn.miju.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * <pre>
 * 字典
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-04-06 16:20
 */
@Data
@TableName("sys_dict")
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SysDict extends AutoEntity {

    /**
     * 父字典ID
     */
    private Long parentId;
    /**
     * 字典代码
     */
    private String dictCode;
    /**
     * 字典名称
     */
    private String dictName;

}
